package cn.tedu.egmybatis3.pojo;
/* order_id CHAR(32) PRIMARY KEY ,
    cust_id CHAR(32),
    order_date TIMESTAMP,
    status INT,
    product_num INT,
    amt DOUBLE(10,2)*/

import java.util.Date;

public class Orders {
    private String orderId;
    private String custId;
    private Date orderDate;
    private Integer status;
    private Integer productNum;
    private Double amt;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public Double getAmt() {
        return amt;
    }

    public void setAmt(Double amt) {
        this.amt = amt;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderId='" + orderId + '\'' +
                ", custId='" + custId + '\'' +
                ", orderDate=" + orderDate +
                ", status=" + status +
                ", productNum=" + productNum +
                ", amt=" + amt +
                '}';
    }
}
